package cn.wx.scholar.core.mapper;

import cn.wx.scholar.core.entity.Paper;

import java.util.List;

import cn.wx.common.persistence.base.SimpleMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author  
 * @since 2018-07-17
 */
public interface PaperMapper extends SimpleMapper<Paper> {
	
	Paper queryOneByFId(Long fId);
	
	/**
	 * 去重论文的领域
	 */
	void createPaperFos(List<String> foses);
	
	/**
	 * 验证论文领域是否在数据库中
	 */
	Integer queryOneFos(String fos);
}
